/*
 * Copyright 2008-2023 dexian.vip. All rights reserved.
 * Support: http://www.dexian.vip
 * License: http://www.dexian.vip/license
 */

package vip.dexian.admin.dto;

import vip.dexian.core.base.bean.BaseDTO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.io.Serial;
import java.time.LocalDateTime;

/**
 * 登录日志 DTO
 *
 * @author 挺好的 2023年06月07日 10:48:02
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@SuperBuilder
@EqualsAndHashCode (callSuper = true)
public class LoginLogDTO extends BaseDTO <Long> {

    @Serial
    private static final long serialVersionUID = 2434333491763166427L;

    /**
     * 用户名
     */
    private String username;

    /**
     * 密码
     */
    private String password;

    /**
     * 是否成功
     */
    private Boolean isSuccess;

    /**
     * 可删除时间
     */
    private LocalDateTime canDeleteDate;

    /**
     * 备注
     */
    private String memo;

    /**
     * IP
     */
    private String ip;

    /**
     * 浏览器
     */
    private String browser;

    /**
     * 浏览器版本
     */
    private String browserVersion;

    /**
     * 操作系统
     */
    private String osName;

    /**
     * 设备类型
     */
    private String deviceType;

}